package br.com.etecmatao.dao.impl;

import br.com.etecmatao.model.Professores;
import br.com.etecmatao.dao.ProfessoresDAO;
import java.util.List;

public class ProfessoresDAOImpl extends GenericDAOImpl<Professores, Integer> implements ProfessoresDAO {

    @Override
    public List<Professores> findAll() {
         return getEntityManager().createNamedQuery("Professores.findAll").getResultList();
    }
}
